package com.jgp.common.annotation;

import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019-10-23
 */
@Target({TYPE, METHOD, FIELD})
@Retention(RUNTIME)
@Repeatable(DataPowers.class)
public @interface DataPower {
    PowerForType value() default PowerForType.ROLE_DOWN;
}
